--- readline-8.0/shlib/Makefile.in.orig	2015-07-12 19:41:58.000000000 -0300
+++ readline-8.0/shlib/Makefile.in	2019-09-25 18:49:51.862317024 -0300
@@ -86,7 +86,7 @@
 SHOBJ_LIBS = @SHOBJ_LIBS@
 
 SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
-SHLIB_LIBS = @SHLIB_LIBS@
+SHLIB_LIBS = @SHLIB_LIBS@ -lncursesw
 
 SHLIB_DOT = @SHLIB_DOT@
 SHLIB_LIBPREF = @SHLIB_LIBPREF@
